
// <copyright file="XmlConfigException.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The xml config exception.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Xml
{
    using System;
    using System.Runtime.Serialization;

    /// <summary>
    /// The xml config exception.
    /// </summary>
    [Serializable]
    public class XmlConfigException : Exception
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="XmlConfigException"/> class.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        public XmlConfigException(string message, Exception e)
            : base(message, e)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="XmlConfigException"/> class.
        /// </summary>
        public XmlConfigException()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="XmlConfigException"/> class.
        /// </summary>
        /// <param name="info">
        /// The info.
        /// </param>
        /// <param name="context">
        /// The context.
        /// </param>
        public XmlConfigException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="XmlConfigException"/> class.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        internal XmlConfigException(string message)
            : base(message)
        {
        }

        #endregion Constructors and Finalizers
    }
}